package com.sh.data.engine.domain.feign;

import com.alibaba.fastjson2.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(url = "${map.url}",name = "FeignUserPage")
public interface FeignUserPage {
    @RequestMapping(value = "/v2/Users",method = RequestMethod.GET)
    JSONObject getMap(
            @RequestParam("startIndex") Integer pageNum,
            @RequestParam("count") Integer pageSize,
            @RequestParam("filter") String filter);

}
